FROM openjdk:8-jdk-alpine
RUN mkdir -p /data/applications && mkdir -p /disk/nfs
COPY ./target/*.jar /data/applications
WORKDIR /data/applications
EXPOSE 8711
ENTRYPOINT ["java","-Xverify:none","-XX:+DisableExplicitGC","-Djava.awt.headless=true","-XX:MaxRAMPercentage=50.0","-Xdebug","-Xrunjdwp:server=y,transport=dt_socket,suspend=n","-Duser.timezone=Asia/Shanghai","-Denv=dev","-Dlogging.file=/data/applications/fgbp-face-learncenter.log","-jar","fgbp-face-learncenter-0.0.2.jar"]
